public class hiuwenshu {
    public static void main(String[] args) {
        int number = 12321;
        int temp = number;
        int count = 0;

        for(int i=1;i<=5;i++){

            int ge = number % 10;
            number = number / 10;
            count++;
        }
        System.out.println(temp);
        System.out.println(temp + "是回文数");
        System.out.println(count);
    }
}
